<template>
	<view>
		<view class="title mt-2 mb-1 mx-1" v-if="title">
			{{title}}
		</view>
		<view class="adv-img" v-if="cover">
			<image :src="cover" class="span-20"></image>
		</view>
		<slot></slot>
	</view>
</template>

<script setup>
	defineProps(['title','cover'])
</script>

<style scoped>
</style>